|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface supports authentication services . Comparing to CHVService supports security check with password or PIN in plain text, AuthenticateService provides much stronger security check with encrypted key. Internal authenticaton used to authenticate the card’s identity to the terminal; external authentication used to authenticate the terminal’s identity to the card.
| Method Summary | |
void |
closeApplication(SecurityDomain domain)
Resets the achieved external authentications on the smartcard . |
boolean |
externalAuthenticate(SecurityDomain domain,
int keyNum,
SignCredential credential)
Performs an external authentication against the smartcard . |
int |
getChallengeLength()
Determines the required length of a challenge for internal authentication . |
byte[] |
internalAuthenticate(SecurityDomain domain,
byte keyNum,
byte[] challenge)
Requests an internal authentication from the smartcard . |
| Method Detail |
public void closeApplication(SecurityDomain domain)
throws CardServiceException
domain - the range external authentication is effective
.
CardServiceException - if this service encountered an error
.
public boolean externalAuthenticate(SecurityDomain domain,
int keyNum,
SignCredential credential)
throws VerificationException,
CardServiceException
domain - the range external authentication is effective
.keyNum - a reference identifying the external key to be used for external authentication
.
VerificationException - when authentication is failed
.
CardServiceException - if this service encountered an error
.
public byte[] internalAuthenticate(SecurityDomain domain,
byte keyNum,
byte[] challenge)
throws VerificationException,
CardServiceException
domain - the range internal authentication is effective
.keyNum - a reference identifying the internal key to be used for internal authentication
.challenge - the random challenge to be used by the smartcard
.
VerificationException - when authentication is failed
.
CardServiceException - if this service encountered an error
.public int getChallengeLength()
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||